package me.ywd.hystrix.feign;

import me.ywd.hystrix.fallback.FailSafe;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author Ye_Wenda
 * @Date 8/10/2017
 */
@FeignClient(name = "provider", fallback = FailSafe.class)
public interface ProviderFeign {
    @GetMapping("services")
    String service();
}
